package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

/**
 * <p>
 * 满减/物品/分类关联表
 * </p>
 *
 * @author XYJ
 * @since 2022-07-20
 */
@TableName("operate_full_goods_rel")
@ApiModel(value = "OperateFullGoodsRel对象", description = "满减/物品/分类关联表")
@Data
public class OperateFullGoodsRel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增id")
    @TableId(value = "id", type = IdType.AUTO)
    @Null
    private Integer id;

    @ApiModelProperty("优惠券编号")
    @NotBlank
    private String  fullNo;

    @ApiModelProperty("商品编号/商品分类")
    private String no;

    @ApiModelProperty("商品名")
    private String goodsName;

}
